// 设置所有的派生属性
const getters = {
    token:state=>state.user.token,
    userId:state=>state.user.id,
    theme:state=>state.theme,
    nowRouterPath:state=>state.nowPath
}

export default getters